///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Aug 22 2007)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////

#ifdef WX_PRECOMP

#include "wx/wxprec.h"

#ifdef __BORLANDC__
#pragma hdrstop
#endif //__BORLANDC__

#else
#include <wx/wx.h>
#endif //WX_PRECOMP

#include "DialogRobotConfigTemplate.h"

///////////////////////////////////////////////////////////////////////////

DialogRobotConfigTemplate::DialogRobotConfigTemplate( wxWindow* parent, int id, wxString title, wxPoint pos, wxSize size, int style ) : wxDialog( parent, id, title, pos, size, style )
{
	this->SetSizeHints( wxDefaultSize, wxDefaultSize );
	
	wxBoxSizer* bSizer8;
	bSizer8 = new wxBoxSizer( wxVERTICAL );
	
	wxBoxSizer* bSizer9;
	bSizer9 = new wxBoxSizer( wxHORIZONTAL );
	
	staticTextBC = new wxStaticText( this, wxID_ANY, wxT("Base Color for Robot"), wxDefaultPosition, wxDefaultSize, 0 );
	staticTextBC->Wrap( -1 );
	bSizer9->Add( staticTextBC, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
	
	comboboxBC = new wxComboBox( this, wxID_ANY, wxT("[choose one...]"), wxDefaultPosition, wxSize( 150,-1 ), 0, NULL, 0 ); 
	bSizer9->Add( comboboxBC, 0, wxALL, 5 );
	
	bSizer8->Add( bSizer9, 1, wxEXPAND, 5 );
	
	wxBoxSizer* bSizer10;
	bSizer10 = new wxBoxSizer( wxHORIZONTAL );
	
	staticTextOC = new wxStaticText( this, wxID_ANY, wxT("Color of Obstacles"), wxDefaultPosition, wxDefaultSize, 0 );
	staticTextOC->Wrap( -1 );
	bSizer10->Add( staticTextOC, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
	
	comboboxOC = new wxComboBox( this, wxID_ANY, wxT("[choose one...]"), wxDefaultPosition, wxSize( 150,-1 ), 0, NULL, 0 ); 
	bSizer10->Add( comboboxOC, 0, wxALL, 5 );
	
	bSizer8->Add( bSizer10, 1, wxEXPAND, 5 );
	
	wxBoxSizer* bSizer14;
	bSizer14 = new wxBoxSizer( wxHORIZONTAL );
	
	staticTextNR = new wxStaticText( this, wxID_ANY, wxT("Number of Robots"), wxDefaultPosition, wxDefaultSize, 0 );
	staticTextNR->Wrap( -1 );
	bSizer14->Add( staticTextNR, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
	
	textCtrlNR = new wxTextCtrl( this, wxID_ANY, wxT("0"), wxDefaultPosition, wxDefaultSize, wxTE_RIGHT );
	bSizer14->Add( textCtrlNR, 1, wxALL, 5 );
	
	bSizer8->Add( bSizer14, 1, wxEXPAND, 5 );
	
	m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
	bSizer8->Add( m_staticline1, 0, wxEXPAND | wxALL, 5 );
	
	wxBoxSizer* bSizer11;
	bSizer11 = new wxBoxSizer( wxHORIZONTAL );
	
	staticTextMinD = new wxStaticText( this, wxID_ANY, wxT("Min. Distance"), wxDefaultPosition, wxDefaultSize, 0 );
	staticTextMinD->Wrap( -1 );
	bSizer11->Add( staticTextMinD, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
	
	textCtrlMinD = new wxTextCtrl( this, wxID_ANY, wxT("0"), wxDefaultPosition, wxDefaultSize, wxTE_RIGHT );
	bSizer11->Add( textCtrlMinD, 1, wxALL, 5 );
	
	bSizer8->Add( bSizer11, 1, wxEXPAND, 5 );
	
	wxBoxSizer* bSizer12;
	bSizer12 = new wxBoxSizer( wxHORIZONTAL );
	
	staticTextMaxD = new wxStaticText( this, wxID_ANY, wxT("Max. Distance"), wxDefaultPosition, wxDefaultSize, 0 );
	staticTextMaxD->Wrap( -1 );
	bSizer12->Add( staticTextMaxD, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
	
	textCtrlMaxD = new wxTextCtrl( this, wxID_ANY, wxT("0"), wxDefaultPosition, wxDefaultSize, wxTE_RIGHT );
	bSizer12->Add( textCtrlMaxD, 1, wxALL, 5 );
	
	bSizer8->Add( bSizer12, 1, wxEXPAND, 5 );
	
	wxBoxSizer* bSizer13;
	bSizer13 = new wxBoxSizer( wxHORIZONTAL );
	
	buttonCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
	bSizer13->Add( buttonCancel, 1, wxALL, 5 );
	
	buttonOk = new wxButton( this, wxID_ANY, wxT("Ok"), wxDefaultPosition, wxDefaultSize, 0 );
	bSizer13->Add( buttonOk, 1, wxALL, 5 );
	
	bSizer8->Add( bSizer13, 1, wxEXPAND, 5 );
	
	this->SetSizer( bSizer8 );
	this->Layout();
	bSizer8->Fit( this );
	
	// Connect Events
	comboboxBC->Connect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( DialogRobotConfigTemplate::OnComboboxBCClick ), NULL, this );
	comboboxOC->Connect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( DialogRobotConfigTemplate::OnComboboxCOClick ), NULL, this );
	buttonCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DialogRobotConfigTemplate::OnButtonCancelClick ), NULL, this );
	buttonOk->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DialogRobotConfigTemplate::OnButtonOkClick ), NULL, this );
}
